<ul>
  <% permitted_to? :read, :admin_settings do %>
    <li><%= link_to "Nastavení", admin_setting_path, ({:class => "active"} if controller.controller_name == "settings") %></li>
  <% end %>
  <% permitted_to? :read, :admin_contents do %>
    <li><%= link_to "Texty", admin_contents_path, ({:class => "active"} if in_url("texty")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_templates do %>
    <li><%= link_to "Systémové šablony", admin_templates_path, ({:class => "active"} if in_url("systemove")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_email_templates do %>
    <li><%= link_to "Emailové šablony", admin_email_templates_path, ({:class => "active"} if in_url("emailove")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_shipping_methods do %>
    <li><%= link_to "Metody doručení", admin_shipping_methods_path, ({:class => "active"} if in_url("metody-doruceni")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_billing_methods do %>
    <li><%= link_to "Metody placení", admin_billing_methods_path, ({:class => "active"} if in_url("metody-placeni")) %></li>
  <% end %>
  <% permitted_to? :read, :admin_administrators do %>
    <li><%= link_to "Správci", admin_administrators_path, ({:class => "active"} if in_url("administratori")) %></li>
  <% end %>
</ul>